-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add auth #29
Add auth #29
Conversation
Test ResultsTests: failure Workflow triggered by @AmirAgassi, ran on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uuid stuff -> google vs pgtype
Test ResultsTests: failure Workflow triggered by @AmirAgassi, ran on |
return echo.NewHTTPError(http.StatusInternalServerError, "failed to create user") | ||
} | ||
|
||
userID := convert.UUIDToString(user.ID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious why is this needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
func generateJWT(userID string, role string) (string, error)
based on his function definition, he changed the UUID to a string to pass it in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^ lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
waiiit so like the UUID type is not just an alias to a string? thats dumb
why is the action failing? |
it's expecting to connect to the PostgreSQL db, but that isn't implemented in the github action workflow yet 😞 |
I am working on updating the workflow |
Test ResultsTests: failure Workflow triggered by @AmirAgassi, ran on |
No description provided.